package cn.sunlelin.educationserver.mapper;

import cn.sunlelin.educationserver.entity.Chapter;

import java.util.List;

public interface ChapterMapper {
    public void createChapter(Chapter chapter);
    public void updateChapter(Chapter chapter);
    public Chapter selectChapterById(Integer chapterId);

    public List<Chapter> selectChapterByCourseId(Integer courseId);
    public void  deleteChapter(Chapter chapter);
}
